package com.appkubes.mall.restful.application.order.order.entity.dto;

import com.appkubes.mall.restful.application.order.delivery.entity.dto.OrderPlanDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class GoodsesDTO {
    @ApiModelProperty("商品Key")
    String goodsKey;

    @ApiModelProperty("商品名称")
    String goodsName;

    @ApiModelProperty("商品价格")
    BigDecimal price;

    @ApiModelProperty("商品规格")
    BigDecimal attrKeys;

    @ApiModelProperty("商品数量")
    Integer num;

    @ApiModelProperty("价格num*price")
    BigDecimal amount;

    @ApiModelProperty("商品图片")
    String pic;

    @ApiModelProperty("商品计划")
    List<OrderPlanDTO> plans;
}
